//
//  PageInfo.h
//  SinaWebo
//
//  Created by wwj on 16/6/30.
//  Copyright © 2016年 亦心. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef NS_ENUM(NSUInteger, PageInfoType) {
    PageInfoTypeTip = 0,     ///< 卡片
    PageInfoTypeVideo = 11, ///视频
    PageInfoTypeNews = 5,   //文章
    PageInfoTypeAtric = 12, //atric
    PageInfoTypeOther      ///< Other
};

@class PicInfo,MediaInfo,Actionlog;

@interface PageInfo : NSObject
@property (assign, nonatomic) PageInfoType type;
@property (copy, nonatomic) NSString *oid;
/** 图片URL，不需要加(_default) 通常是左侧的方形图片 */
@property (copy, nonatomic) NSString *page_pic;
@property (copy, nonatomic) NSString *page_id;
/**  页面标题，例如"上海·上海文庙" */
@property (copy, nonatomic) NSString *page_title;
/** 页面描述，例如"上海市黄浦区文庙路215号" */
@property (copy, nonatomic) NSString *page_desc;
/** 提示，例如"4222条微博" */
@property (copy, nonatomic) NSString *tips;
/** Badge 图片URL，不需要加(_default) 通常放在最左上角角落里 */
@property (copy, nonatomic) NSString *type_icon;
@property (copy, nonatomic) NSString *content1;
@property (copy, nonatomic) NSString *content2;
@property (copy, nonatomic) NSString *content3;
@property (copy, nonatomic) NSString *content4;
@property (strong, nonatomic) PicInfo *pic_info;
/** 链接 sinaweibo://... */
@property (copy, nonatomic) NSString *page_url;
/** 类型，例如"place" "video" */
@property (assign, nonatomic) NSInteger object_type;
/** 真实链接，例如 http://v.qq.com/xxx */
@property (nonatomic, strong) NSString *scheme;
@property (copy, nonatomic) NSString *authorid;
@property (copy, nonatomic) NSString *object_id;
@property (strong, nonatomic) MediaInfo *media_info;
@property (assign, nonatomic) NSInteger act_status;
@property (strong, nonatomic) Actionlog *actionlog;
@property (strong, nonatomic) NSArray *cards;

@property (assign, nonatomic) CGFloat typeNewImgH;
@end
